package main.tests;


import junit.framework.Assert;

import main.ui.MainFrame;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class TestUI {

	@Before
	public void setUp() throws Exception 
	{
		MainFrame.getInstance().createContent();
		MainFrame.getInstance().setVisible(true);
	}

	@After
	public void tearDown() throws Exception {
	}
	
	@Test
	public void testMainWindowCreated()
	{
		Assert.assertTrue(MainFrame.getInstance().isVisible());
	}

}
